<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>AJAX 请求示例</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script>
        $(document).ready(function() {
            $.ajax({
                url: "https://sug.so.360.cn/suggest",
                data: {word: "a"},
                dataType: "jsonp",
                success: function(response) {
                    console.log(response);
                    document.getElementById("app").innerHTML=JSON.stringify(response.result)
                }
            });
        });
    </script>
</head>
<body>

<div id="app"> </div>
</body>
</html>
